package com.example.dayu521.sg_oss.service.feign;

import com.example.dayu521.sg_oss.domain.donain_mid.ProductResult;
import org.example.dayu521.OrRes;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("f1/product")
public interface ProductServiceRpc {

    @PostMapping("/list_by_ids")
    OrRes<ProductResult> listbyid(@RequestBody List<Long> ids);
}
